package za.co.martin_and_east.games.justin;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

/**
 * Testing some of the methods of the Car class  
 * 
 *
 */
public class TestCar {
	Car carOne;
	Car carTwo;

	@Before
	public void mustBeRunForAllTests() {
		carOne = new Car();
		carTwo = new Car();
	}
	
        @Ignore
	@Test
	public void testCreationOfCarObjects() {
		assertNotNull(carOne);
		assertNotNull(carTwo);
	}

	@Test
	public void testModelMethod() {
		int year;
		year = carOne.getModel();
		System.out.println(" carOne " + carOne);
		if (year < 1980)
		{
			fail("Time to get a new car");

		}
	}
}